package com.online.studyonline.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "users")
public class User {
    @TableId(type = IdType.AUTO)
    private int userId;  // 用户ID
    private String username;  // 用户账号
    private String passwordHash;  // 密码哈希值
    private String phoneNumber;  // 电话号码
    private String gender;  // 性别
    private String label;  // 个性签名
    private String nickname;// 昵称
    private  String school;// 学校
}
